package cn.kgc.service;

import cn.kgc.pojo.UserRole;
import com.github.pagehelper.Page;

/**
 * @author: admin
 * @date: 2022/2/16
 * @description:
 */
public interface userRoleService {

    //查看用户详情
    UserRole selRoleById(Integer id);

    //添加用户
    boolean add(UserRole userrole);

    //删除用户
    boolean del(Integer id);

    //修改用户
    boolean upd(UserRole userRole);

    //模糊查询
    Page<UserRole> getList(String name, String role, String department);

}
